import { defineStore } from 'pinia';
import { ref } from 'vue'
export const useIsShowHeader = defineStore('isShowHeader', () => {
  const isShowHeader = ref(true);

  const showHeader = () => {
    isShowHeader.value = true;
  };

  const unShowHeader = () => {
    isShowHeader.value = false;
  };

  return { isShowHeader, showHeader, unShowHeader };
});
